#!/bin/sh
. ../commonenv.sh


echo "IF statement test"
$JAVA/java -jar $FLEXLIB/asc.jar -import $TAMARIN/core/builtin.abc   test.as
$TAMARIN_BIN/avmshell test.abc

cp ../../AbcExplorationLib/abcexplorationlib.dll .
$FSHARPC  -r abcexplorationlib.dll modify.fs 
mono modify.exe test.abc

$TAMARIN_BIN/avmshell test_t.abc

echo "=========================="
echo "Switch statement test"
#$JAVA/java -jar $FLEXLIB/asc.jar -import $TAMARIN/core/builtin.abc   testswitch.as
$JAVA/java -jar $FLEXLIB/asc.jar testswitch.as
$TAMARIN_BIN/avmshell testswitch.abc

cp ../../AbcExplorationLib/abcexplorationlib.dll .
$FSHARPC  -r abcexplorationlib.dll modify.fs 
mono modify.exe testswitch.abc

$TAMARIN_BIN/avmshell testswitch_t.abc
